package ttu.idu0080.ryhm103_offerservice_client;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for offer complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="offer">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="offer_id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="offer_price" type="{http://www.w3.org/2001/XMLSchema}double"/>
 *         &lt;element name="delivery_time" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "offer", propOrder = { "offerId", "offerPrice", "deliveryTime" })
public class Offer {

	@XmlElement(name = "offer_id")
	protected String offerId;
	@XmlElement(name = "offer_price")
	protected double offerPrice;
	@XmlElement(name = "delivery_time")
	protected int deliveryTime;

	/**
	 * Gets the value of the offerId property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getOfferId() {
		return offerId;
	}

	/**
	 * Sets the value of the offerId property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setOfferId(String value) {
		this.offerId = value;
	}

	/**
	 * Gets the value of the offerPrice property.
	 * 
	 */
	public double getOfferPrice() {
		return offerPrice;
	}

	/**
	 * Sets the value of the offerPrice property.
	 * 
	 */
	public void setOfferPrice(double value) {
		this.offerPrice = value;
	}

	/**
	 * Gets the value of the deliveryTime property.
	 * 
	 */
	public int getDeliveryTime() {
		return deliveryTime;
	}

	/**
	 * Sets the value of the deliveryTime property.
	 * 
	 */
	public void setDeliveryTime(int value) {
		this.deliveryTime = value;
	}

}
